import {
  post
} from './fetch'


export function getList(params: Object):any {
  return post('getList', params)
}

export function login(params: Object):any {
  // return post('hello', params)
  return post('login', params)
}

export function getUserInfo():any {
  return post('needLogin/getUserInfo')
}

export function logout(params: Object):any {
  return post('logout',params)
}

export function getSwiperList():any {
  return post('swiperList')
}

export function getWxConfig(params: Object):any {
  return post('getWxConfig', params)
}
